﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="JobDetail.aspx.cs" Inherits="JobDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table id="Table1" cellpadding="5" cellspacing="0" width="100%">
        <tr>
            <td bgcolor="#EBE7E7">
                <table style="width: 100%">
                    <tr>
                        <td style="width: 186px; height: 18px;">
                            Job&nbsp;Detail &nbsp;</td>
                        <td style="text-align: right; height: 18px;">
                            Re-Start Job at Step:
                            <asp:DropDownList ID="ddlStep" runat="server" Width="200px">
                            </asp:DropDownList>
                            <asp:Button ID="btnStartJob" runat="server" 
                                Font-Bold="True" ForeColor="Green" Height="23px" 
                                onclick="btnStartJob_Click" Text="Re-Start" Width="75px" /></td>
                    </tr>
                </table>
            </td>
        </tr>
        </table>
        <table id="Table3" cellpadding="0" cellspacing="1" width="100%">
        <tr style="color: #000000">
            <td>
    <table cellpadding="5" cellspacing=0 width="100%">
        <tr>
            <td bgcolor="#EBE7E7" style="width: 150px">
                Instance Name:</td>
            <td>
                <asp:HyperLink ID="lnkInstanceDetail" runat="server">[lnkInstanceDetail]</asp:HyperLink>
           </td>
        </tr>
        <tr>
            <td bgcolor="#EBE7E7" style="width: 150px; ">
                Job Name:</td>
            <td>
                <asp:Label ID="lblJobName" runat="server" Font-Bold="True"></asp:Label></td>
        </tr>
        <tr>
            <td bgcolor="#EBE7E7" style="width: 150px; ">
                Job ID:</td>
            <td>
                <asp:Label ID="lblJobID" runat="server"></asp:Label>
                                                                </td>
        </tr>
        <tr>
            <td bgcolor="#EBE7E7" style="width: 150px; ">
                Last Run Status:</td>
            <td>
                                                                <asp:Label ID="lblLastRunStatus" runat="server"></asp:Label>
                                                                </td>
        </tr>
        <tr>
            <td bgcolor="#EBE7E7" style="width: 150px">
                Job Enabled:</td>
            <td>
                <asp:Label ID="lblJobEnabled" runat="server"></asp:Label>
            </td>
        </tr>
        <tr width="100">
            <td bgcolor="#EBE7E7" style="width: 150px">
                Date Created:</td>
            <td>
                <asp:Label ID="lblJobCreated" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td bgcolor="#EBE7E7" style="width: 150px">
                Date Modified:
            <td>
                <asp:Label ID="lblJobModified" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td bgcolor="#EBE7E7" style="width: 150px">
                Job Description:</td>
            <td>
                <asp:Label ID="lblJobDescription" runat="server"></asp:Label>
            </td>
        </tr>
        </table>
            </td>
        </tr>
    </table>
    <table id="Table2" cellpadding="5" cellspacing="0"  width="100%">
        <tr>
            <td bgcolor="#EBE7E7">
                <table style="width: 100%">
                    <tr>
                        <td style="width: 186px; height: 18px;">
                            Job&nbsp;History &nbsp;</td>
                        <td style="text-align: right; height: 18px;">
                            <asp:LinkButton ID="btnClearHistory" runat="server" 
                                onclick="btnClearHistory_Click">Clear History</span></asp:LinkButton>
                            &nbsp;<asp:LinkButton ID="BtnMSDB_OK" runat="server" onclick="BtnMSDB_OK_Click">MSDB_OK</span></asp:LinkButton>
                            &nbsp;<asp:LinkButton ID="btnFilter" runat="server" onclick="btnFilter_Click"></asp:LinkButton>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        </table>
        <table id="Table4" cellpadding="0" cellspacing="1" width="100%">
        <tr style="color: #000000">
            <td>
                            <asp:GridView ID="gv" runat="server" AutoGenerateColumns="true" 
                                CellPadding="4" ForeColor="#333333" GridLines="None" 
                                Width="100%" onrowdatabound="gv_RowDataBound">
                                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                <EditRowStyle BackColor="#999999" />
                                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                <HeaderStyle BackColor="#003366" Font-Bold="True" Font-Size="X-Small" 
                                    ForeColor="White" HorizontalAlign="Left" />
                                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                            </asp:GridView>
                        </td>
        </tr>
    </table>
</asp:Content>

